<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- installation.qdoc -->
  <title>Building Qt Sources | Qt 5.14</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="index.html">Qt 5.14</a></td><td >Building Qt Sources</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.14.2 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#general-installation-information">General Installation Information</a></li>
<li class="level1"><a href="#windows">Windows</a></li>
<li class="level1"><a href="#macos">macOS</a></li>
<li class="level1"><a href="#linux-x11">Linux/X11</a></li>
<li class="level1"><a href="#embedded-linux">Embedded Linux</a></li>
<li class="level1"><a href="#android">Android</a></li>
<li class="level1"><a href="#ios">iOS</a></li>
<li class="level1"><a href="#universal-windows-platform-uwp">Universal Windows Platform (UWP)</a></li>
<li class="level1"><a href="#additional-information">Additional Information</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Building Qt Sources</h1>
<span class="subtitle"></span>
<!-- $$$build-sources.html-description -->
<div class="descr"> <a name="details"></a>
<p>There are two ways to install Qt:</p>
<ol class="1" type="1"><li>through the <i>Qt Installers</i> - downloads and installs Qt</li>
<li>through the <i>Qt sources</i>.</li>
</ol>
<p>You can download the Qt 5 installers and sources from the <a href="http://qt.io/download">Downloads</a> page. For more information, visit the <a href="gettingstarted.html">Getting Started with Qt</a> page.</p>
<p>This page lists the relevant information for installing Qt by building the Qt sources. The installation procedure is different on each Qt platform. This page collects the relevant information for the <a href="supported-platforms.html">supported platforms</a>.</p>
<a name="general-installation-information"></a>
<h2 id="general-installation-information">General Installation Information</h2>
<p>Building Qt revolves around using <code>configure</code> to configure Qt for a particular platform with a particular set of Qt features or modules. For more information, visit the following page:</p>
<ul>
<li><a href="configure-options.html">Qt Configure Options</a></li>
</ul>
<a name="windows"></a>
<h2 id="windows">Windows</h2>
<ul>
<li><a href="windows-requirements.html">Qt for Windows - Requirements</a></li>
<li><a href="windows-building.html">Qt for Windows - Building from Source</a></li>
</ul>
<a name="macos"></a>
<h2 id="macos">macOS</h2>
<ul>
<li><a href="macos-building.html">Qt for macOS - Building from Source</a></li>
</ul>
<a name="linux-x11"></a>
<h2 id="linux-x11">Linux/X11</h2>
<ul>
<li><a href="linux-requirements.html">Qt for X11 Requirements</a></li>
<li><a href="linux-building.html">Qt for Linux/X11 - Building from Source</a></li>
</ul>
<a name="embedded-linux"></a>
<h2 id="embedded-linux">Embedded Linux</h2>
<ul>
<li><a href="configure-linux-device.html">Configure an Embedded Linux Device</a></li>
<li><a href="embedded-linux.html">Qt for Embedded Linux</a></li>
</ul>
<a name="android"></a>
<h2 id="android">Android</h2>
<ul>
<li><a href="android-building.html">Qt for Android - Building from Source</a></li>
</ul>
<a name="ios"></a>
<h2 id="ios">iOS</h2>
<ul>
<li><a href="ios-building-from-source.html">Qt for iOS - Building from Source</a></li>
</ul>
<a name="universal-windows-platform-uwp"></a>
<h2 id="universal-windows-platform-uwp">Universal Windows Platform (UWP)</h2>
<ul>
<li><a href="winrt-support.html#building-from-source">Qt for UWP - Building from Source</a></li>
</ul>
<a name="additional-information"></a>
<h2 id="additional-information">Additional Information</h2>
<p>The top-level qt5 Git repository contains a set of build instructions in the form of <i>provisioning scripts</i>, used by Qt's continuous integration (CI) system to build and test the supported <a href="supported-platforms.html#reference-configurations">Reference Configurations</a>. These scripts are useful for anyone building Qt from source, as they provide information on the tools and components that are required for each configuration.</p>
<ul>
<li><a href="https://code.qt.io/cgit/qt/qt5.git/tree/coin?h=5.14">qt/qt5.git CI provisioning for Qt 5.14</a></li>
<li><a href="https://wiki.qt.io/CI_Overview">CI Overview in Qt Wiki</a></li>
</ul>
</div>
<!-- @@@build-sources.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
